package com.flaskpy.web.eternity.admin.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * Sm.Ms图床
 * </p>
 *
 * @author 醒哥(ctrl+v)
 * @since 2021-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tool_picture")
@ApiModel(value="Picture对象", description="Sm.Ms图床")
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "picture_id", type = IdType.AUTO)
    private Long pictureId;

    @ApiModelProperty(value = "图片名称")
    private String filename;

    @ApiModelProperty(value = "文件的MD5值")
    private String md5code;

    @ApiModelProperty(value = "图片大小")
    private String size;

    @ApiModelProperty(value = "图片地址")
    private String url;

    @ApiModelProperty(value = "删除的URL")
    private String deleteUrl;

    @ApiModelProperty(value = "图片高度")
    private String height;

    @ApiModelProperty(value = "图片宽度")
    private String width;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "上传日期")
    private Date createTime;

}
